# encoding: utf-8
# @project: st2111 
# @file: re_slash.py
# @time: 2023/4/6 15:26
# @author: abcque
# @license: (C) Copyright 2013-2021
# @contact: abcque@outlook.com
# @IDE: PyCharm
# @desc:

import re
if __name__ == "__main__":
    oris = 'abc*?e'
    valid = re.compile(r"abc*?e")
    print(re.findall(valid, oris))

    valid = re.compile(r"abc\*\?e")
    print(re.findall(valid, oris))